package com.betty.cscams.service;

import com.betty.cscams.common.page.PageRequest;
import com.betty.cscams.common.page.PageResult;
import com.betty.cscams.entity.BusExpand;
import com.betty.cscams.entity.BusExpandDetail;
import com.betty.cscams.entity.BusSports;
import com.betty.cscams.vo.ScoreQueryBean;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * ---------------------------
 *  (BusExpandService)         
 * ---------------------------
 * 时间：  2022-03-14 16:41:44
 * ---------------------------
 */
public interface BusExpandService extends CurdService<BusExpand> {

    void deleteByEntity(BusExpand record);

    void calculationSports(Long termId,Long deptId);

    void calculationReset(Long termId,Long deptId);

    void exportExpand(ScoreQueryBean params, HttpServletResponse response);

    PageResult findPageTo(PageRequest pageRequest);

    void saveDetail(BusExpandDetail record);

    void deleteDetail(BusExpandDetail record);

    void editDetail(BusExpandDetail record);

    List<BusExpandDetail> findListById(Long expandId);
}
